﻿using System;
using System.ComponentModel;

namespace PSAMMatrixCloud.BLL.BizCommon
{


    /// <summary>
    /// 删除标志
    /// </summary>
    public enum EnumDelflag
    {
        /// <summary>
        /// 未删除
        /// </summary>
        NoDeleted,

        /// <summary>
        /// 已删除
        /// </summary>
        Deleted
    }

    /// <summary>
    /// 状态标志
    /// </summary>
    public enum EnumStatus
    {
        /// <summary>
        /// 禁用
        /// </summary>
        Disabled,

        /// <summary>
        /// 启用
        /// </summary>
        Enabled,
    }


    

    /// <summary>
    /// 操作方式
    /// </summary>
    public enum EnumOperationType
    {
        /// <summary>
        /// 添加
        /// </summary>
        add = 0,

        /// <summary>
        /// 编辑
        /// </summary>
        edit = 1,

        /// <summary>
        /// 删除
        /// </summary>
        delete = 2,

        /// <summary>
        /// 查询
        /// </summary>
        search
    }



    /// <summary>
    /// 日志级别
    /// </summary>
    public enum EnumLogType
    {
        /// <summary>
        /// DEBUG
        /// </summary>
        DEBUG,

        /// <summary>
        /// INFO
        /// </summary>
        INFO,

        /// <summary>
        /// WARN
        /// </summary>
        WARN,

        /// <summary>
        /// ERROR
        /// </summary>
        ERROR,

        /// <summary>
        /// FATAL
        /// </summary>
        FATAL,

        /// <summary>
        /// ALL
        /// </summary>
        ALL
    }


    /// <summary>
    /// 验证码业务类型
    /// </summary>
    public enum EnumCodeBusType
    {
        /// <summary>
        /// 注册
        /// </summary>
        Register,

        /// <summary>
        /// 找回密码(重置密码)
        /// </summary>
        FindPass,

        /// <summary>
        /// 修改密码
        /// </summary>
        EditPass,

        /// <summary>
        /// 验证码登录
        /// </summary>
        Login,

        /// <summary>
        /// 找回用户名
        /// </summary>
        FindUserName,

        /// <summary>
        /// 发送用户名
        /// </summary>
        SendUserName
    }

    /// <summary>
    /// 使用状态
    /// </summary>
    public enum EnumUsedStatus
    {
        /// <summary>
        /// 未使用
        /// </summary>
        NoUse,

        /// <summary>
        /// 已使用
        /// </summary>
        Used
    }
}